package week_9;

public class IndirectedGraphTest {
    public static void main(String[] args) {
        IndirectedGraph graph= new IndirectedGraph();
        graph.addVertex(12);
        graph.addVertex(10);
        graph.addVertex(23);
        graph.addVertex(14);

        graph.addEdge(12,10);
        graph.addEdge(10,23);
        graph.addEdge(12,14);
        graph.addEdge(10,14);
        System.out.println(graph.toString());
    }
}
